home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / lisp / timer.elc < prev    next >
Emacs Compiled Lisp  |  1994-06-27  |  3.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6f 6c 61 6e 64 40 |piled by| roland@|
|00000020| 67 65 65 63 68 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |geech.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 4d 6f 6e 20 4a 75 6e 20 |.edu on |Mon Jun |
|00000040| 32 37 20 31 36 3a 31 31 | 3a 31 31 20 31 39 39 34 |27 16:11|:11 1994|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 67 64 2f 67 6e 75 2f 65 | 6d 61 63 73 2f 31 39 2e |gd/gnu/e|macs/19.|
|00000070| 30 2f 6c 69 73 70 2f 74 | 69 6d 65 72 2e 65 6c 0a |0/lisp/t|imer.el.|
|00000080| 3b 3b 3b 20 65 6d 61 63 | 73 20 76 65 72 73 69 6f |;;; emac|s versio|
|00000090| 6e 20 31 39 2e 32 35 2e | 31 33 2e 0a 3b 3b 3b 20 |n 19.25.|13..;;; |
|000000a0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000b0| 20 46 53 46 20 32 2e 31 | 30 0a 3b 3b 3b 20 6f 70 | FSF 2.1|0.;;; op|
|000000c0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|000000d0| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|000000e0| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|000000f0| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000100| 69 6e 20 45 6d 61 63 73 | 20 31 38 2e 0a 0a 28 69 |in Emacs| 18...(i|
|00000110| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000120| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000130| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000140| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000150| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000160| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|00000170| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|00000180| 73 69 6f 6e 20 22 31 39 | 22 29 29 29 0a 20 20 20 |sion "19|"))). |
|00000190| 20 28 65 72 72 6f 72 20 | 22 60 2f 67 64 2f 67 6e | (error |"`/gd/gn|
|000001a0| 75 2f 65 6d 61 63 73 2f | 31 39 2e 30 2f 6c 69 73 |u/emacs/|19.0/lis|
|000001b0| 70 2f 74 69 6d 65 72 2e | 65 6c 27 20 77 61 73 20 |p/timer.|el' was |
|000001c0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001d0| 63 73 20 31 39 22 29 29 | 0a 0a 28 62 79 74 65 2d |cs 19"))|..(byte-|
|000001e0| 63 6f 64 65 20 22 c0 11 | c2 c3 21 84 5c 6e 00 c4 |code "..|..!.\n..|
|000001f0| 13 c2 c5 21 84 12 00 c4 | 15 c2 c6 21 84 1b 00 c7 |...!....|...!....|
|00000200| 16 06 c4 87 22 20 5b 22 | 74 69 6d 65 72 22 20 74 |...." ["|timer" t|
|00000210| 69 6d 65 72 2d 70 72 6f | 67 72 61 6d 20 62 6f 75 |imer-pro|gram bou|
|00000220| 6e 64 70 20 74 69 6d 65 | 72 2d 70 72 6f 63 65 73 |ndp time|r-proces|
|00000230| 73 20 6e 69 6c 20 74 69 | 6d 65 72 2d 61 6c 69 73 |s nil ti|mer-alis|
|00000240| 74 20 74 69 6d 65 72 2d | 6f 75 74 20 22 22 5d 20 |t timer-|out ""] |
|00000250| 32 29 0a 28 64 65 66 76 | 61 72 20 74 69 6d 65 72 |2).(defv|ar timer|
|00000260| 2d 64 6f 6e 74 2d 65 78 | 69 74 20 6e 69 6c 20 22 |-dont-ex|it nil "|
|00000270| 5c 0a 49 66 20 6e 6f 6e | 2d 6e 69 6c 2c 20 64 6f |\.If non|-nil, do|
|00000280| 6e 27 74 20 65 78 69 74 | 20 74 68 65 20 74 69 6d |n't exit| the tim|
|00000290| 65 72 20 70 72 6f 63 65 | 73 73 20 77 68 65 6e 20 |er proce|ss when |
|000002a0| 6e 6f 20 6d 6f 72 65 20 | 65 76 65 6e 74 73 20 61 |no more |events a|
|000002b0| 72 65 20 70 65 6e 64 69 | 6e 67 2e 22 29 0a 28 62 |re pendi|ng.").(b|
|000002c0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 c2 5c 22 88 |yte-code| "...\".|
|000002d0| c3 c4 c1 5c 22 87 22 20 | 5b 64 65 66 61 6c 69 61 |...\"." |[defalia|
|000002e0| 73 20 74 69 6d 65 72 2d | 6b 69 6c 6c 2d 65 6d 61 |s timer-|kill-ema|
|000002f0| 63 73 2d 68 6f 6f 6b 20 | 23 5b 6e 69 6c 20 22 08 |cs-hook |#[nil ".|
|00000300| 85 11 00 c1 08 c2 5c 22 | 88 c3 08 c2 5c 22 88 c4 |......\"|....\"..|
|00000310| 08 21 87 22 20 5b 74 69 | 6d 65 72 2d 70 72 6f 63 |.!." [ti|mer-proc|
|00000320| 65 73 73 20 73 65 74 2d | 70 72 6f 63 65 73 73 2d |ess set-|process-|
|00000330| 73 65 6e 74 69 6e 65 6c | 20 6e 69 6c 20 73 65 74 |sentinel| nil set|
|00000340| 2d 70 72 6f 63 65 73 73 | 2d 66 69 6c 74 65 72 20 |-process|-filter |
|00000350| 64 65 6c 65 74 65 2d 70 | 72 6f 63 65 73 73 5d 20 |delete-p|rocess] |
|00000360| 33 5d 20 61 64 64 2d 68 | 6f 6f 6b 20 6b 69 6c 6c |3] add-h|ook kill|
|00000370| 2d 65 6d 61 63 73 2d 68 | 6f 6f 6b 5d 20 33 29 0a |-emacs-h|ook] 3).|
|00000380| 28 64 65 66 61 6c 69 61 | 73 20 27 72 75 6e 2d 61 |(defalia|s 'run-a|
|00000390| 74 2d 74 69 6d 65 20 23 | 5b 28 74 69 6d 65 20 72 |t-time #|[(time r|
|000003a0| 65 70 65 61 74 20 66 75 | 6e 63 74 69 6f 6e 20 26 |epeat fu|nction &|
|000003b0| 72 65 73 74 20 61 72 67 | 73 29 20 22 08 c1 9a 83 |rest arg|s) "....|
|000003c0| 08 00 c2 10 0b a8 83 12 | 00 c4 c5 0b 5c 22 13 0e |........|....\"..|
|000003d0| 06 83 20 00 c7 0e 06 21 | c8 3e 83 51 00 0e 06 83 |.. ....!|.>.Q....|
|000003e0| 2a 00 c9 0e 06 21 88 c2 | 1e 5c 6e cb cc c2 cd 0e |*....!..|.\n.....|
|000003f0| 0e 0e 0f 5c 22 23 29 16 | 06 c2 16 10 d1 0e 06 d2 |...\"#).|........|
|00000400| 5c 22 88 d3 0e 06 d4 5c | 22 88 d5 0e 06 21 88 82 |\".....\|"....!..|
|00000410| 5f 00 c7 0e 06 21 d6 3d | 83 5f 00 d7 0e 06 21 88 |_....!.=|._....!.|
|00000420| d8 20 d9 0e 10 47 51 89 | 1e 1a 08 0e 1b 0e 1c 46 |. ...GQ.|.......F|
|00000430| 1e 1d de 0e 06 0b df 0e | 1a e0 52 5c 22 88 0e 1d |........|..R\"...|
|00000440| 0e 10 42 16 10 0e 1d 2a | 87 22 20 5b 72 65 70 65 |..B....*|." [repe|
|00000450| 61 74 20 30 20 6e 69 6c | 20 74 69 6d 65 20 66 6f |at 0 nil| time fo|
|00000460| 72 6d 61 74 20 22 25 64 | 20 73 65 63 22 20 74 69 |rmat "%d| sec" ti|
|00000470| 6d 65 72 2d 70 72 6f 63 | 65 73 73 20 70 72 6f 63 |mer-proc|ess proc|
|00000480| 65 73 73 2d 73 74 61 74 | 75 73 20 28 65 78 69 74 |ess-stat|us (exit|
|00000490| 20 73 69 67 6e 61 6c 20 | 6e 69 6c 29 20 64 65 6c | signal |nil) del|
|000004a0| 65 74 65 2d 70 72 6f 63 | 65 73 73 20 70 72 6f 63 |ete-proc|ess proc|
|000004b0| 65 73 73 2d 63 6f 6e 6e | 65 63 74 69 6f 6e 2d 74 |ess-conn|ection-t|
|000004c0| 79 70 65 20 73 74 61 72 | 74 2d 70 72 6f 63 65 73 |ype star|t-proces|
|000004d0| 73 20 22 74 69 6d 65 72 | 22 20 65 78 70 61 6e 64 |s "timer|" expand|
|000004e0| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 74 69 6d 65 72 |-file-na|me timer|
|000004f0| 2d 70 72 6f 67 72 61 6d | 20 65 78 65 63 2d 64 69 |-program| exec-di|
|00000500| 72 65 63 74 6f 72 79 20 | 74 69 6d 65 72 2d 61 6c |rectory |timer-al|
|00000510| 69 73 74 20 73 65 74 2d | 70 72 6f 63 65 73 73 2d |ist set-|process-|
|00000520| 66 69 6c 74 65 72 20 74 | 69 6d 65 72 2d 70 72 6f |filter t|imer-pro|
|00000530| 63 65 73 73 2d 66 69 6c | 74 65 72 20 73 65 74 2d |cess-fil|ter set-|
|00000540| 70 72 6f 63 65 73 73 2d | 73 65 6e 74 69 6e 65 6c |process-|sentinel|
|00000550| 20 74 69 6d 65 72 2d 70 | 72 6f 63 65 73 73 2d 73 | timer-p|rocess-s|
|00000560| 65 6e 74 69 6e 65 6c 20 | 70 72 6f 63 65 73 73 2d |entinel |process-|
|00000570| 6b 69 6c 6c 2d 77 69 74 | 68 6f 75 74 2d 71 75 65 |kill-wit|hout-que|
|00000580| 72 79 20 73 74 6f 70 20 | 63 6f 6e 74 69 6e 75 65 |ry stop |continue|
|00000590| 2d 70 72 6f 63 65 73 73 | 20 63 75 72 72 65 6e 74 |-process| current|
|000005a0| 2d 74 69 6d 65 2d 73 74 | 72 69 6e 67 20 22 2d 22 |-time-st|ring "-"|
|000005b0| 20 74 6f 6b 65 6e 20 66 | 75 6e 63 74 69 6f 6e 20 | token f|unction |
|000005c0| 61 72 67 73 20 65 6c 74 | 20 70 72 6f 63 65 73 73 |args elt| process|
|000005d0| 2d 73 65 6e 64 2d 73 74 | 72 69 6e 67 20 22 40 22 |-send-st|ring "@"|
|000005e0| 20 22 5c 6e 22 5d 20 37 | 20 22 5c 0a 52 75 6e 20 | "\n"] 7| "\.Run |
|000005f0| 61 20 66 75 6e 63 74 69 | 6f 6e 20 61 74 20 61 20 |a functi|on at a |
|00000600| 74 69 6d 65 2c 20 61 6e | 64 20 6f 70 74 69 6f 6e |time, an|d option|
|00000610| 61 6c 6c 79 20 6f 6e 20 | 61 20 72 65 67 75 6c 61 |ally on |a regula|
|00000620| 72 20 69 6e 74 65 72 76 | 61 6c 2e 0a 41 72 67 75 |r interv|al..Argu|
|00000630| 6d 65 6e 74 73 20 61 72 | 65 20 54 49 4d 45 2c 20 |ments ar|e TIME, |
|00000640| 52 45 50 45 41 54 2c 20 | 46 55 4e 43 54 49 4f 4e |REPEAT, |FUNCTION|
|00000650| 20 26 72 65 73 74 20 41 | 52 47 53 2e 0a 54 49 4d | &rest A|RGS..TIM|
|00000660| 45 2c 20 61 20 73 74 72 | 69 6e 67 2c 20 63 61 6e |E, a str|ing, can|
|00000670| 20 62 65 20 73 70 65 63 | 69 66 69 65 64 20 61 62 | be spec|ified ab|
|00000680| 73 6f 6c 75 74 65 6c 79 | 20 6f 72 20 72 65 6c 61 |solutely| or rela|
|00000690| 74 69 76 65 20 74 6f 20 | 6e 6f 77 2e 0a 54 49 4d |tive to |now..TIM|
|000006a0| 45 20 63 61 6e 20 61 6c | 73 6f 20 62 65 20 61 6e |E can al|so be an|
|000006b0| 20 69 6e 74 65 67 65 72 | 2c 20 61 20 6e 75 6d 62 | integer|, a numb|
|000006c0| 65 72 20 6f 66 20 73 65 | 63 6f 6e 64 73 2e 0a 52 |er of se|conds..R|
|000006d0| 45 50 45 41 54 2c 20 61 | 6e 20 69 6e 74 65 67 65 |EPEAT, a|n intege|
|000006e0| 72 20 6e 75 6d 62 65 72 | 20 6f 66 20 73 65 63 6f |r number| of seco|
|000006f0| 6e 64 73 2c 20 69 73 20 | 74 68 65 20 69 6e 74 65 |nds, is |the inte|
|00000700| 72 76 61 6c 20 6f 6e 20 | 77 68 69 63 68 20 74 6f |rval on |which to|
|00000710| 20 72 65 70 65 61 74 0a | 74 68 65 20 63 61 6c 6c | repeat.|the call|
|00000720| 20 74 6f 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | to the |function|
|00000730| 2e 20 20 49 66 20 52 45 | 50 45 41 54 20 69 73 20 |. If RE|PEAT is |
|00000740| 6e 69 6c 20 6f 72 20 30 | 2c 20 63 61 6c 6c 20 69 |nil or 0|, call i|
|00000750| 74 20 6a 75 73 74 20 6f | 6e 63 65 2e 0a 0a 41 62 |t just o|nce...Ab|
|00000760| 73 6f 6c 75 74 65 20 74 | 69 6d 65 73 20 6d 61 79 |solute t|imes may|
|00000770| 20 62 65 20 73 70 65 63 | 69 66 69 65 64 20 69 6e | be spec|ified in|
|00000780| 20 61 20 77 69 64 65 20 | 76 61 72 69 65 74 79 20 | a wide |variety |
|00000790| 6f 66 20 66 6f 72 6d 61 | 74 73 3b 0a 53 6f 6d 65 |of forma|ts;.Some|
|000007a0| 74 68 69 6e 67 20 6f 66 | 20 74 68 65 20 66 6f 72 |thing of| the for|
|000007b0| 6d 20 60 48 4f 55 52 3a | 4d 49 4e 3a 53 45 43 20 |m `HOUR:|MIN:SEC |
|000007c0| 54 49 4d 45 5a 4f 4e 45 | 20 4d 4f 4e 54 48 2f 44 |TIMEZONE| MONTH/D|
|000007d0| 41 59 2f 59 45 41 52 27 | 2c 20 77 68 65 72 65 0a |AY/YEAR'|, where.|
|000007e0| 61 6c 6c 20 66 69 65 6c | 64 73 20 61 72 65 20 6e |all fiel|ds are n|
|000007f0| 75 6d 62 65 72 73 2c 20 | 77 6f 72 6b 73 3b 20 74 |umbers, |works; t|
|00000800| 68 65 20 66 6f 72 6d 61 | 74 20 75 73 65 64 20 62 |he forma|t used b|
|00000810| 79 20 74 68 65 20 55 6e | 69 78 20 60 64 61 74 65 |y the Un|ix `date|
|00000820| 27 0a 63 6f 6d 6d 61 6e | 64 20 77 6f 72 6b 73 20 |'.comman|d works |
|00000830| 74 6f 6f 2e 0a 0a 52 65 | 6c 61 74 69 76 65 20 74 |too...Re|lative t|
|00000840| 69 6d 65 73 20 6d 61 79 | 20 62 65 20 73 70 65 63 |imes may| be spec|
|00000850| 69 66 69 65 64 20 61 73 | 20 61 20 73 65 72 69 65 |ified as| a serie|
|00000860| 73 20 6f 66 20 6e 75 6d | 62 65 72 73 20 66 6f 6c |s of num|bers fol|
|00000870| 6c 6f 77 65 64 20 62 79 | 20 75 6e 69 74 73 3a 0a |lowed by| units:.|
|00000880| 20 20 31 20 6d 69 6e 20 | 20 20 20 20 20 20 20 20 | 1 min | |
|00000890| 09 64 65 6e 6f 74 65 73 | 20 6f 6e 65 20 6d 69 6e |.denotes| one min|
|000008a0| 75 74 65 20 66 72 6f 6d | 20 6e 6f 77 2e 0a 20 20 |ute from| now.. |
|000008b0| 6d 69 6e 09 09 09 64 6f | 65 73 20 74 6f 6f 2e 0a |min...do|es too..|
|000008c0| 20 20 31 20 6d 69 6e 20 | 35 20 73 65 63 09 09 64 | 1 min |5 sec..d|
|000008d0| 65 6e 6f 74 65 73 20 36 | 35 20 73 65 63 6f 6e 64 |enotes 6|5 second|
|000008e0| 73 20 66 72 6f 6d 20 6e | 6f 77 2e 0a 20 20 31 20 |s from n|ow.. 1 |
|000008f0| 6d 69 6e 20 32 20 73 65 | 63 20 33 20 68 6f 75 72 |min 2 se|c 3 hour|
|00000900| 20 34 20 64 61 79 20 35 | 20 77 65 65 6b 20 36 20 | 4 day 5| week 6 |
|00000910| 66 6f 72 74 6e 69 67 68 | 74 20 37 20 6d 6f 6e 74 |fortnigh|t 7 mont|
|00000920| 68 20 38 20 79 65 61 72 | 0a 09 09 09 64 65 6e 6f |h 8 year|....deno|
|00000930| 74 65 73 20 74 68 65 20 | 73 75 6d 20 6f 66 20 61 |tes the |sum of a|
|00000940| 6c 6c 20 74 68 65 20 67 | 69 76 65 6e 20 64 75 72 |ll the g|iven dur|
|00000950| 61 74 69 6f 6e 73 20 66 | 72 6f 6d 20 6e 6f 77 2e |ations f|rom now.|
|00000960| 22 20 22 73 52 75 6e 20 | 61 74 20 74 69 6d 65 3a |" "sRun |at time:|
|00000970| 20 5c 6e 4e 52 65 70 65 | 61 74 20 69 6e 74 65 72 | \nNRepe|at inter|
|00000980| 76 61 6c 3a 20 5c 6e 61 | 46 75 6e 63 74 69 6f 6e |val: \na|Function|
|00000990| 3a 20 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |: "]).(d|efalias |
|000009a0| 27 63 61 6e 63 65 6c 2d | 74 69 6d 65 72 20 23 5b |'cancel-|timer #[|
|000009b0| 28 65 6c 74 29 20 22 08 | 41 c1 a0 88 08 41 41 c2 |(elt) ".|A....AA.|
|000009c0| a0 87 22 20 5b 65 6c 74 | 20 6e 69 6c 20 69 67 6e |.." [elt| nil ign|
|000009d0| 6f 72 65 5d 20 32 20 22 | 5c 0a 43 61 6e 63 65 6c |ore] 2 "|\.Cancel|
|000009e0| 20 61 20 74 69 6d 65 72 | 20 70 72 65 76 69 6f 75 | a timer| previou|
|000009f0| 73 6c 79 20 6d 61 64 65 | 20 77 69 74 68 20 60 72 |sly made| with `r|
|00000a00| 75 6e 2d 61 74 2d 74 69 | 6d 65 27 2e 0a 54 68 65 |un-at-ti|me'..The|
|00000a10| 20 61 72 67 75 6d 65 6e | 74 20 73 68 6f 75 6c 64 | argumen|t should|
|00000a20| 20 62 65 20 61 20 76 61 | 6c 75 65 20 70 72 65 76 | be a va|lue prev|
|00000a30| 69 6f 75 73 6c 79 20 72 | 65 74 75 72 6e 65 64 20 |iously r|eturned |
|00000a40| 62 79 20 60 72 75 6e 2d | 61 74 2d 74 69 6d 65 27 |by `run-|at-time'|
|00000a50| 2e 0a 43 61 6e 63 65 6c | 6c 69 6e 67 20 74 68 65 |..Cancel|ling the|
|00000a60| 20 74 69 6d 65 72 20 6d | 65 61 6e 73 20 74 68 61 | timer m|eans tha|
|00000a70| 74 20 6e 6f 74 68 69 6e | 67 20 73 70 65 63 69 61 |t nothin|g specia|
|00000a80| 6c 20 0a 77 69 6c 6c 20 | 68 61 70 70 65 6e 20 61 |l .will |happen a|
|00000a90| 74 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |t the sp|ecified |
|00000aa0| 74 69 6d 65 2e 22 5d 29 | 0a 28 62 79 74 65 2d 63 |time."])|.(byte-c|
|00000ab0| 6f 64 65 20 22 c0 c1 c2 | 5c 22 88 c0 c3 c4 5c 22 |ode "...|\"....\"|
|00000ac0| 87 22 20 5b 64 65 66 61 | 6c 69 61 73 20 74 69 6d |." [defa|lias tim|
|00000ad0| 65 72 2d 70 72 6f 63 65 | 73 73 2d 66 69 6c 74 65 |er-proce|ss-filte|
|00000ae0| 72 20 23 5b 28 70 72 6f | 63 20 73 74 72 29 20 22 |r #[(pro|c str) "|
|00000af0| 08 09 50 10 c2 89 89 1b | 1c 1d c6 c7 08 5c 22 83 |..P.....|.....\".|
|00000b00| 89 00 08 c8 89 94 4f 14 | c9 5c 66 0e 5c 6e 5c 22 |......O.|.\f.\n\"|
|00000b10| 15 08 c8 95 c2 4f 10 0d | 83 52 00 cb cc 0d 38 cd |.....O..|.R....8.|
|00000b20| 0d 38 5c 22 88 ce 0d 41 | 40 21 83 48 00 cf 0e 10 |.8\"...A|@!.H....|
|00000b30| 0d 41 40 d1 0d 40 c7 52 | 5c 22 88 82 5c 6e 00 d2 |.A@..@.R|\"..\n..|
|00000b40| 0d 0e 5c 6e 5c 22 16 5c | 6e 82 5c 6e 00 c6 d3 5c |..\n\".\|n.\n...\|
|00000b50| 66 5c 22 83 5c 6e 00 5c | 66 d4 94 d4 95 4f 13 5c |f\".\n.\|f....O.\|
|00000b60| 66 cc 94 cc 95 4f 15 c9 | 5c 66 cd 94 cd 95 4f 0e |f....O..|\f....O.|
|00000b70| 5c 6e 5c 22 14 d2 5c 66 | 0e 5c 6e 5c 22 16 5c 6e |\n\"..\f|.\n\".\n|
|00000b80| d5 d6 21 88 d7 d8 0b cc | 5c 66 38 0d 24 88 82 5c |..!.....|\f8.$..\|
|00000b90| 6e 00 0e 5c 6e 86 97 00 | 0e 19 86 97 00 da 0e 10 |n..\n...|........|
|00000ba0| 21 2b 87 22 20 5b 74 69 | 6d 65 72 2d 6f 75 74 20 |!+." [ti|mer-out |
|00000bb0| 73 74 72 20 6e 69 6c 20 | 65 72 72 6f 72 20 74 6f |str nil |error to|
|00000bc0| 6b 65 6e 20 64 6f 20 73 | 74 72 69 6e 67 2d 6d 61 |ken do s|tring-ma|
|00000bd0| 74 63 68 20 22 5c 6e 22 | 20 30 20 61 73 73 6f 63 |tch "\n"| 0 assoc|
|00000be0| 20 74 69 6d 65 72 2d 61 | 6c 69 73 74 20 61 70 70 | timer-a|list app|
|00000bf0| 6c 79 20 32 20 33 20 6e | 61 74 6e 75 6d 70 20 73 |ly 2 3 n|atnump s|
|00000c00| 65 6e 64 2d 73 74 72 69 | 6e 67 20 70 72 6f 63 20 |end-stri|ng proc |
|00000c10| 22 20 73 65 63 40 22 20 | 64 65 6c 71 20 22 74 69 |" sec@" |delq "ti|
|00000c20| 6d 65 72 3a 20 5c 5c 28 | 5b 5e 3a 5d 2b 5c 5c 29 |mer: \\(|[^:]+\\)|
|00000c30| 3a 20 5c 5c 28 5b 5e 40 | 5d 2a 5c 5c 29 40 5c 5c |: \\([^@|]*\\)@\\|
|00000c40| 28 2e 2a 5c 5c 29 24 22 | 20 31 20 64 69 6e 67 20 |(.*\\)$"| 1 ding |
|00000c50| 6e 6f 2d 74 65 72 6d 69 | 6e 61 74 65 20 6d 65 73 |no-termi|nate mes|
|00000c60| 73 61 67 65 20 22 25 73 | 20 66 6f 72 20 25 73 3b |sage "%s| for %s;|
|00000c70| 20 63 6f 75 6c 64 6e 27 | 74 20 73 65 74 20 61 74 | couldn'|t set at|
|00000c80| 20 5c 22 25 73 5c 22 22 | 20 74 69 6d 65 72 2d 64 | \"%s\""| timer-d|
|00000c90| 6f 6e 74 2d 65 78 69 74 | 20 70 72 6f 63 65 73 73 |ont-exit| process|
|00000ca0| 2d 73 65 6e 64 2d 65 6f | 66 5d 20 36 5d 20 74 69 |-send-eo|f] 6] ti|
|00000cb0| 6d 65 72 2d 70 72 6f 63 | 65 73 73 2d 73 65 6e 74 |mer-proc|ess-sent|
|00000cc0| 69 6e 65 6c 20 23 5b 28 | 70 72 6f 63 20 73 74 72 |inel #[(|proc str|
|00000cd0| 29 20 22 c0 09 21 89 1a | c3 3d 83 10 00 c4 09 21 |) "..!..|.=.....!|
|00000ce0| 82 28 00 0d 83 5c 22 00 | 5c 6e c6 3d 84 5c 22 00 |.(...\".|\n.=.\".|
|00000cf0| c7 c8 21 88 c9 ca 21 88 | cb 16 5c 66 cb 89 15 29 |..!...!.|..\f...)|
|00000d00| 87 22 20 5b 70 72 6f 63 | 65 73 73 2d 73 74 61 74 |." [proc|ess-stat|
|00000d10| 75 73 20 70 72 6f 63 20 | 73 74 61 74 20 73 74 6f |us proc |stat sto|
|00000d20| 70 20 63 6f 6e 74 69 6e | 75 65 2d 70 72 6f 63 65 |p contin|ue-proce|
|00000d30| 73 73 20 74 69 6d 65 72 | 2d 61 6c 69 73 74 20 65 |ss timer|-alist e|
|00000d40| 78 69 74 20 64 69 6e 67 | 20 6e 6f 2d 74 65 72 6d |xit ding| no-term|
|00000d50| 69 6e 61 74 65 20 6d 65 | 73 73 61 67 65 20 22 54 |inate me|ssage "T|
|00000d60| 69 6d 65 72 20 65 78 69 | 74 65 64 20 61 62 6e 6f |imer exi|ted abno|
|00000d70| 72 6d 61 6c 6c 79 2e 20 | 20 41 6c 6c 20 65 76 65 |rmally. | All eve|
|00000d80| 6e 74 73 20 63 61 6e 63 | 65 6c 6c 65 64 2e 22 20 |nts canc|elled." |
|00000d90| 6e 69 6c 20 74 69 6d 65 | 72 2d 70 72 6f 63 65 73 |nil time|r-proces|
|00000da0| 73 5d 20 33 5d 5d 20 33 | 29 0a 28 64 65 66 61 6c |s] 3]] 3|).(defal|
|00000db0| 69 61 73 20 27 63 61 6e | 63 65 6c 2d 66 75 6e 63 |ias 'can|cel-func|
|00000dc0| 74 69 6f 6e 2d 74 69 6d | 65 72 73 20 23 5b 28 66 |tion-tim|ers #[(f|
|00000dd0| 75 6e 63 74 69 6f 6e 29 | 20 22 08 89 19 83 1c 00 |unction)| "......|
|00000de0| c2 09 40 38 0b 3d 83 15 | 00 c4 09 40 08 5c 22 10 |..@8.=..|...@.\".|
|00000df0| 09 41 89 11 84 06 00 29 | 08 86 29 00 0d 86 29 00 |.A.....)|..)...).|
|00000e00| c6 0e 07 21 87 22 20 5b | 74 69 6d 65 72 2d 61 6c |...!." [|timer-al|
|00000e10| 69 73 74 20 61 6c 69 73 | 74 20 32 20 66 75 6e 63 |ist alis|t 2 func|
|00000e20| 74 69 6f 6e 20 64 65 6c | 71 20 74 69 6d 65 72 2d |tion del|q timer-|
|00000e30| 64 6f 6e 74 2d 65 78 69 | 74 20 70 72 6f 63 65 73 |dont-exi|t proces|
|00000e40| 73 2d 73 65 6e 64 2d 65 | 6f 66 20 74 69 6d 65 72 |s-send-e|of timer|
|00000e50| 2d 70 72 6f 63 65 73 73 | 5d 20 34 20 22 5c 0a 43 |-process|] 4 "\.C|
|00000e60| 61 6e 63 65 6c 20 61 6c | 6c 20 65 76 65 6e 74 73 |ancel al|l events|
|00000e70| 20 73 63 68 65 64 75 6c | 65 64 20 62 79 20 60 72 | schedul|ed by `r|
|00000e80| 75 6e 2d 61 74 2d 74 69 | 6d 65 27 20 77 68 69 63 |un-at-ti|me' whic|
|00000e90| 68 20 77 6f 75 6c 64 20 | 72 75 6e 20 46 55 4e 43 |h would |run FUNC|
|00000ea0| 54 49 4f 4e 2e 22 20 22 | 61 43 61 6e 63 65 6c 20 |TION." "|aCancel |
|00000eb0| 74 69 6d 65 72 73 20 6f | 66 20 66 75 6e 63 74 69 |timers o|f functi|
|00000ec0| 6f 6e 3a 20 22 5d 29 0a | 28 70 72 6f 76 69 64 65 |on: "]).|(provide|
|00000ed0| 20 28 71 75 6f 74 65 20 | 74 69 6d 65 72 29 29 0a | (quote |timer)).|
+--------+-------------------------+-------------------------+--------+--------+